package com.dux.shiro1.jpa;

import com.dux.shiro1.domin.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepo extends JpaRepository<User,Long> {

    User findByUsernameAndPasswordHash(String username,String passwordHash);

}
